package com.techstar.api.pojo.expressway;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.Table;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.techstar.api.pojo.complex_id.StationFlowTrendId;
import com.techstar.common.jackson.StrDateHourDeserializer;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 
 * @author EinIce
 * @description 收费站流量趋势
 * @date 2021年6月25日
 *
 */
@Getter
@Setter
@Entity
@ToString
@Table(name = "station_flow_trend")
@IdClass(StationFlowTrendId.class)
@org.hibernate.annotations.Table(appliesTo = "station_flow_trend",comment="pord-5-收费站流量趋势")
public class StationFlowTrend {
	@Id
    private String highwayId;
    private String highwayName;
    private String stationId;
    private String stationName;
    private String vehicleFlow;
    private String vehicleFlowCsy;
    private String vehicleFlowCsm;
    @Id
    @JsonDeserialize(using = StrDateHourDeserializer.class)
    private String createTime;

}
